package com.kt.uokos.yimo.service;

import com.kt.uokos.yimo.dao.Admin;

import java.util.List;

/**
 * @Description TODO
 * @ClassName AdminService
 * @Date 2021/12/20 下午9:32
 * @Author KangTao
 */
public interface AdminService {

    public Admin findAdmin(Integer id);

    public List<Admin> querySelective(String username, Integer page, Integer limit, String sort, String order);

    public int updateById(Admin admin);

    public void deleteById(Integer id);

    public void add(Admin admin);

    public Admin findById(Integer id);

    public List<Admin> all();

    public List<Admin> findAdmin(String username);
}
